<?php


$models_dir = realpath(dirname(__FILE__) . '/../dbmodels');
$yaml_schema_dir = realpath(dirname(__FILE__) . '/../dev/schemas');
$yaml_fixtures_dir = realpath(dirname(__FILE__) . '/../dev/data');
$sql_dir = realpath(dirname(__FILE__) . '/../dbsql');

//define('BASE_ROOT', $dir);
define('MODELS_PATH', $models_dir);
define('YAML_SCHEMA_PATH', $yaml_schema_dir);
define('SQL_PATH', $sql_dir);
define('DATA_FIXTURES_PATH', $yaml_fixtures_dir);

require_once 'Doctrine.php';
spl_autoload_register(array('Doctrine', 'autoload'));
spl_autoload_register(array('Doctrine', 'modelsAutoload'));
$manager = Doctrine_Manager::getInstance();
